package com.sunwayworld.basemodule.business.pjtask.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.pjtask.bean.LimsPjFolderBean;
import com.sunwayworld.basemodule.business.pjtask.dao.LimsPjFolderDao;
import com.sunwayworld.basemodule.business.pjtask.mapper.LimsPjFolderMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsPjFolderDaoImpl extends MybatisDaoSupport<LimsPjFolderBean, Long> implements LimsPjFolderDao {

    @Autowired
    private LimsPjFolderMapper limsPjFolderMapper;

    @Override
    public LimsPjFolderMapper getMapper() {
        return limsPjFolderMapper;
    }

    @Override
    public List<Map<String, Object>> selectByParam(MapperParameter parameter) {
        return getMapper().selectByParam(parameter);
    }
}
